package cn.yanghan.vo;

import cn.yanghan.utils.util.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AggPageList extends PageList {
    private Map<String, List<Bucket>> aggs = new HashMap<>();

    public AggPageList(long total,List list,Map<String, List<Bucket>> aggs){
        super(total,list);
        this.aggs=aggs;
    }
}
